package managers;

import java.sql.SQLException;
import java.util.List;

import workspace.Workspace;
import beans.Eszkoz;

public interface EszkozManager {

	public List<Eszkoz> loadEszkozLista(Workspace workspace)
			throws SQLException;

	public Eszkoz insertEszkoz(Workspace workspace, Eszkoz newEszkoz)
			throws SQLException;

	public Eszkoz updateEszkoz(Workspace workspace, Eszkoz updatedEszkoz)
			throws SQLException;

	public boolean deleteEszkoz(Workspace workspace, long userId)
			throws SQLException;

	public boolean deleteEszkozForTest(Workspace workspace, long id)
			throws SQLException;
}
